package com.apexsoft.assets.base.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Created on 2018/3/5.
 *
 * @author Sury
 */
@ApiModel
public class UserRole {
    @ApiModelProperty(position = 0,notes = "ID")
    private Long id;
    @ApiModelProperty(position = 1,notes = "用户ID")
    private Long userId;
    @ApiModelProperty(position = 2,notes = "用户编号")
    private String userNum;
    @ApiModelProperty(position = 3,notes = "用户名称")
    private String userName;
    @ApiModelProperty(position = 4,notes = "角色ID")
    private Long roleId;
    @ApiModelProperty(position = 5,notes = "角色名称")
    private String roleName;
    @ApiModelProperty(position = 5,notes = "添加时间")
    private Long addTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserNum() {
        return userNum;
    }

    public void setUserNum(String userNum) {
        this.userNum = userNum;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getAddTime() {
        return addTime;
    }

    public void setAddTime(Long addTime) {
        this.addTime = addTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
